package com.idanchuang.user.count.service.api.response;

import javax.validation.constraints.NotNull;

/**
 * @author Richard_yyf
 * @version 1.0 2021/5/27
 */
public class UserSceneCountDTO {

    /**
     * 用户code
     */
    @NotNull
    private Integer userCode;

    /**
     * 对应场景
     */
    @NotNull
    private String scene;

    /**
     * 对应的计数值
     * 当对应用户对应场景没有计数时，返回为空；如果是已读未读数场景则返回为0
     */
    @NotNull
    private Integer count;

    public UserSceneCountDTO() {
    }

    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    public String getScene() {
        return scene;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "UserSceneCountDTO{" +
                "userCode=" + userCode +
                ", scene='" + scene + '\'' +
                ", count=" + count +
                '}';
    }
}
